<!-- HTML header for doxygen 1.8.9.1-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>ROSS: core/ross-kernel-inline.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <a href="https://github.com/ROSS-org/ROSS">
   <div id="projectname">ROSS
   </div>
   </a>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_af18cf245e3394ab3b436135935cfd6e.html">core</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">ross-kernel-inline.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="ross-kernel-inline_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef INC_ross_kernel_inline_h</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define INC_ross_kernel_inline_h</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include &quot;<a class="code" href="st-instrumentation_8h.html">instrumentation/st-instrumentation.h</a>&quot;</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;</div>
<div class="line"><a name="l00005"></a><span class="lineno"><a class="line" href="ross-kernel-inline_8h.html#afd7e8bb46e590a19612ac045cf3f6f03">    5</a></span>&#160;<span class="preprocessor">#define ROSS_MAX(a,b) ((a) &gt; (b) ? (a) : (b))</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"><a class="line" href="ross-kernel-inline_8h.html#a76b22a7896601c622802f236cae6684a">    6</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ROSS_MIN(a,b) ((a) &lt; (b) ? (a) : (b))</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> <a class="code" href="structtw__lp.html">tw_lp</a> *</div>
<div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="ross-kernel-inline_8h.html#a3e5591d29e9db9c6a1a1cc19ed55feec">    9</a></span>&#160;     <a class="code" href="ross-kernel-inline_8h.html#a3e5591d29e9db9c6a1a1cc19ed55feec">tw_getlocal_lp</a>(<a class="code" href="ross_8h.html#a911515dff2fb79886a16ed44df5f9d20">tw_lpid</a> gid)</div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;{</div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;  <a class="code" href="ross_8h.html#a911515dff2fb79886a16ed44df5f9d20">tw_lpid</a> <span class="keywordtype">id</span> = gid;</div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;</div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;  <span class="comment">// finding analysis LPs doesn&#39;t depend on model&#39;s choice of mapping</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;  <span class="keywordflow">if</span> (<a class="code" href="specialized-lps_8c.html#af684a7b76fde8ed0e32b8a155af94f92">g_st_use_analysis_lps</a> &amp;&amp; gid &gt;= <a class="code" href="specialized-lps_8c.html#ae493796b4588551bf1178de65e3baa78">g_st_total_model_lps</a>)</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;  {</div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;      <span class="keywordflow">return</span> <a class="code" href="ross-extern_8h.html#a43d0a4ccc4cb71f94675a4b64a7c60c0">g_tw_lp</a>[(gid - <a class="code" href="specialized-lps_8c.html#ae493796b4588551bf1178de65e3baa78">g_st_total_model_lps</a>) % <a class="code" href="ross-extern_8h.html#a4a237c68db5a0325e986d3710088d427">g_tw_nkp</a> + <a class="code" href="ross-extern_8h.html#ab8bd876929690758e922961bcc16cd64">g_tw_nlp</a>];</div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;  }</div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;  <span class="keywordflow">switch</span> (<a class="code" href="ross-extern_8h.html#aaa99d77ef4fabc6101a812df84e52be1">g_tw_mapping</a>) {</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;  <span class="keywordflow">case</span> <a class="code" href="ross-types_8h.html#aaff8ab0fbfb817463eb76a185abc50cba945d6010d321d9fe75cbba7b6f37f3b5">CUSTOM</a>:</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;      <span class="keywordflow">return</span>( <a class="code" href="ross-extern_8h.html#a8b68252dffbb6e0a431b1967975fdb58">g_tw_custom_lp_global_to_local_map</a>( gid ) );</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;  <span class="keywordflow">case</span> <a class="code" href="ross-types_8h.html#aaff8ab0fbfb817463eb76a185abc50cba9e805af736d9be20caf33f5ec0dc1d47">ROUND_ROBIN</a>:</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;      <span class="keywordtype">id</span> = gid / <a class="code" href="network-mpi_8c.html#a2818efb70df48e5e29d3dacb3e2de009">tw_nnodes</a>();</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;      <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;  <span class="keywordflow">case</span> <a class="code" href="ross-types_8h.html#aaff8ab0fbfb817463eb76a185abc50cbadc101ebf31c49c2d4b80b7c6f59f22cb">LINEAR</a>:</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;      <span class="keywordtype">id</span> = gid - <a class="code" href="ross-extern_8h.html#ae8a20282effaa19f11bcaada18b5427d">g_tw_lp_offset</a>;</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;      <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;  }</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#ifdef ROSS_runtime_checks</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor"></span>      <span class="keywordflow">if</span> (<span class="keywordtype">id</span> &gt;= <a class="code" href="ross-extern_8h.html#ab8bd876929690758e922961bcc16cd64">g_tw_nlp</a>)</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;          <a class="code" href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa">tw_error</a>(<a class="code" href="ross-extern_8h.html#afffdf140f2c492f61546ad783833f127">TW_LOC</a>, <span class="stringliteral">&quot;ID %d exceeded MAX LPs&quot;</span>, <span class="keywordtype">id</span>);</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;      <span class="keywordflow">if</span> (gid != <a class="code" href="ross-extern_8h.html#a43d0a4ccc4cb71f94675a4b64a7c60c0">g_tw_lp</a>[<span class="keywordtype">id</span>]-&gt;gid)</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;          <a class="code" href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa">tw_error</a>(<a class="code" href="ross-extern_8h.html#afffdf140f2c492f61546ad783833f127">TW_LOC</a>, <span class="stringliteral">&quot;Inconsistent LP Mapping&quot;</span>);</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* ROSS_runtime_checks */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;      <span class="keywordflow">return</span> <a class="code" href="ross-extern_8h.html#a43d0a4ccc4cb71f94675a4b64a7c60c0">g_tw_lp</a>[id];</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;}</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> <a class="code" href="structtw__lp.html">tw_lp</a> *</div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="ross-kernel-inline_8h.html#a01d028965db8257815ad2ed053a0e40a">   41</a></span>&#160;     <a class="code" href="ross-kernel-inline_8h.html#a01d028965db8257815ad2ed053a0e40a">tw_getlp</a>(<a class="code" href="ross_8h.html#a911515dff2fb79886a16ed44df5f9d20">tw_lpid</a> <span class="keywordtype">id</span>)</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;{</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor">#ifdef ROSS_runtime_checks</span></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor"></span>  <span class="keywordflow">if</span> (<span class="keywordtype">id</span> &gt;= <a class="code" href="ross-extern_8h.html#ab8bd876929690758e922961bcc16cd64">g_tw_nlp</a> + <a class="code" href="specialized-lps_8c.html#abaecb255233b735460c8b9836547041e">g_st_analysis_nlp</a>)</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;    <a class="code" href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa">tw_error</a>(<a class="code" href="ross-extern_8h.html#afffdf140f2c492f61546ad783833f127">TW_LOC</a>, <span class="stringliteral">&quot;ID %d exceeded MAX LPs&quot;</span>, <span class="keywordtype">id</span>);</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;  <span class="keywordflow">if</span> (<span class="keywordtype">id</span> != <a class="code" href="ross-extern_8h.html#a43d0a4ccc4cb71f94675a4b64a7c60c0">g_tw_lp</a>[<span class="keywordtype">id</span>]-&gt;<span class="keywordtype">id</span>)</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    <a class="code" href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa">tw_error</a>(<a class="code" href="ross-extern_8h.html#afffdf140f2c492f61546ad783833f127">TW_LOC</a>, <span class="stringliteral">&quot;Inconsistent LP Mapping&quot;</span>);</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* ROSS_runtime_checks */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="preprocessor"></span>  <span class="keywordflow">return</span> <a class="code" href="ross-extern_8h.html#a43d0a4ccc4cb71f94675a4b64a7c60c0">g_tw_lp</a>[id];</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;}</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> <a class="code" href="structtw__kp.html">tw_kp</a> *</div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="ross-kernel-inline_8h.html#a4066dfaca8faa4af256a377d85cea32f">   53</a></span>&#160;     <a class="code" href="ross-kernel-inline_8h.html#a4066dfaca8faa4af256a377d85cea32f">tw_getkp</a>(<a class="code" href="ross-types_8h.html#a1c8bf5a99e9de5022cdaa304f3979e57">tw_kpid</a> <span class="keywordtype">id</span>)</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;{</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="preprocessor">#ifdef ROSS_runtime_checks</span></div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="preprocessor"></span>  <span class="keywordflow">if</span> (<span class="keywordtype">id</span> &gt;= <a class="code" href="ross-extern_8h.html#a4a237c68db5a0325e986d3710088d427">g_tw_nkp</a>)</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    <a class="code" href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa">tw_error</a>(<a class="code" href="ross-extern_8h.html#afffdf140f2c492f61546ad783833f127">TW_LOC</a>, <span class="stringliteral">&quot;ID %u exceeded MAX KPs&quot;</span>, <span class="keywordtype">id</span>);</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;  <span class="keywordflow">if</span>( <a class="code" href="ross-extern_8h.html#a64132b3acc0476622c31d7dc1676d227">g_tw_kp</a>[<span class="keywordtype">id</span>] == NULL )</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    <a class="code" href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa">tw_error</a>(<a class="code" href="ross-extern_8h.html#afffdf140f2c492f61546ad783833f127">TW_LOC</a>, <span class="stringliteral">&quot;Local KP %u found NULL \n&quot;</span>, <span class="keywordtype">id</span> );</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;  <span class="keywordflow">if</span> (<span class="keywordtype">id</span> != <a class="code" href="ross-extern_8h.html#a64132b3acc0476622c31d7dc1676d227">g_tw_kp</a>[<span class="keywordtype">id</span>]-&gt;<span class="keywordtype">id</span>)</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    <a class="code" href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa">tw_error</a>(<a class="code" href="ross-extern_8h.html#afffdf140f2c492f61546ad783833f127">TW_LOC</a>, <span class="stringliteral">&quot;Inconsistent KP Mapping&quot;</span>);</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* ROSS_runtime_checks */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="ross-extern_8h.html#a64132b3acc0476622c31d7dc1676d227">g_tw_kp</a>[id];</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;}</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">int</span></div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="ross-kernel-inline_8h.html#a0e8a2538926cdb59af049a899566de6c">   68</a></span>&#160;     <a class="code" href="ross-kernel-inline_8h.html#a0e8a2538926cdb59af049a899566de6c">tw_ismaster</a>(<span class="keywordtype">void</span>)</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;{</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;  <span class="keywordflow">return</span> (<a class="code" href="ross-extern_8h.html#a83ae3f8b8b94935a1dbdfa2d2552f508">g_tw_mynode</a> == <a class="code" href="ross-extern_8h.html#abb6067d27f1c3e888c1d276490f28088">g_tw_masternode</a>);</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;}</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> *</div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="ross-kernel-inline_8h.html#ac8a7b5295fae3b169b7d16191cbb192c">   74</a></span>&#160;     <a class="code" href="ross-kernel-inline_8h.html#ac8a7b5295fae3b169b7d16191cbb192c">tw_getstate</a>(<a class="code" href="structtw__lp.html">tw_lp</a> * lp)</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;{</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;  <span class="keywordflow">return</span> lp-&gt;<a class="code" href="structtw__lp.html#a34fb8e673f23705156b2473503e8a2d5">cur_state</a>;</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;}</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> <a class="code" href="ross_8h.html#a80b370bc538e17441aef6afaff852678">tw_stime</a></div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="ross-kernel-inline_8h.html#a543cb527662432d81f65c327e5e5f1b0">   80</a></span>&#160;     <a class="code" href="ross-kernel-inline_8h.html#a543cb527662432d81f65c327e5e5f1b0">tw_now</a>(<a class="code" href="structtw__lp.html">tw_lp</a> <span class="keyword">const</span> * lp)</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;{</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;  <span class="keywordflow">return</span> (lp-&gt;<a class="code" href="structtw__lp.html#a8028662b2668953fa9f49f2df7d00850">kp</a>-&gt;<a class="code" href="structtw__kp.html#aabf1253aa1eb55c613a70fb3c9271117">last_time</a>);</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;}</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="ross-extern_8h_html_afffdf140f2c492f61546ad783833f127"><div class="ttname"><a href="ross-extern_8h.html#afffdf140f2c492f61546ad783833f127">TW_LOC</a></div><div class="ttdeci">#define TW_LOC</div><div class="ttdef"><b>Definition:</b> <a href="ross-extern_8h_source.html#l00164">ross-extern.h:164</a></div></div>
<div class="ttc" id="ross-extern_8h_html_a43d0a4ccc4cb71f94675a4b64a7c60c0"><div class="ttname"><a href="ross-extern_8h.html#a43d0a4ccc4cb71f94675a4b64a7c60c0">g_tw_lp</a></div><div class="ttdeci">tw_lp ** g_tw_lp</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00026">ross-global.c:26</a></div></div>
<div class="ttc" id="ross_8h_html_a80b370bc538e17441aef6afaff852678"><div class="ttname"><a href="ross_8h.html#a80b370bc538e17441aef6afaff852678">tw_stime</a></div><div class="ttdeci">double tw_stime</div><div class="ttdef"><b>Definition:</b> <a href="ross_8h_source.html#l00150">ross.h:150</a></div></div>
<div class="ttc" id="ross-types_8h_html_aaff8ab0fbfb817463eb76a185abc50cba9e805af736d9be20caf33f5ec0dc1d47"><div class="ttname"><a href="ross-types_8h.html#aaff8ab0fbfb817463eb76a185abc50cba9e805af736d9be20caf33f5ec0dc1d47">ROUND_ROBIN</a></div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00039">ross-types.h:39</a></div></div>
<div class="ttc" id="ross-types_8h_html_aaff8ab0fbfb817463eb76a185abc50cba945d6010d321d9fe75cbba7b6f37f3b5"><div class="ttname"><a href="ross-types_8h.html#aaff8ab0fbfb817463eb76a185abc50cba945d6010d321d9fe75cbba7b6f37f3b5">CUSTOM</a></div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00040">ross-types.h:40</a></div></div>
<div class="ttc" id="ross-extern_8h_html_a49ed2388aaae26e43280b7909c834aaa"><div class="ttname"><a href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa">tw_error</a></div><div class="ttdeci">void tw_error(const char *file, int line, const char *fmt,...) NORETURN</div><div class="ttdef"><b>Definition:</b> <a href="tw-util_8c_source.html#l00074">tw-util.c:74</a></div></div>
<div class="ttc" id="ross-extern_8h_html_ae8a20282effaa19f11bcaada18b5427d"><div class="ttname"><a href="ross-extern_8h.html#ae8a20282effaa19f11bcaada18b5427d">g_tw_lp_offset</a></div><div class="ttdeci">tw_lpid g_tw_lp_offset</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00024">ross-global.c:24</a></div></div>
<div class="ttc" id="ross-kernel-inline_8h_html_a0e8a2538926cdb59af049a899566de6c"><div class="ttname"><a href="ross-kernel-inline_8h.html#a0e8a2538926cdb59af049a899566de6c">tw_ismaster</a></div><div class="ttdeci">static int tw_ismaster(void)</div><div class="ttdef"><b>Definition:</b> <a href="ross-kernel-inline_8h_source.html#l00068">ross-kernel-inline.h:68</a></div></div>
<div class="ttc" id="ross-types_8h_html_aaff8ab0fbfb817463eb76a185abc50cbadc101ebf31c49c2d4b80b7c6f59f22cb"><div class="ttname"><a href="ross-types_8h.html#aaff8ab0fbfb817463eb76a185abc50cbadc101ebf31c49c2d4b80b7c6f59f22cb">LINEAR</a></div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00038">ross-types.h:38</a></div></div>
<div class="ttc" id="ross-extern_8h_html_ab8bd876929690758e922961bcc16cd64"><div class="ttname"><a href="ross-extern_8h.html#ab8bd876929690758e922961bcc16cd64">g_tw_nlp</a></div><div class="ttdeci">tw_lpid g_tw_nlp</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00023">ross-global.c:23</a></div></div>
<div class="ttc" id="network-mpi_8c_html_a2818efb70df48e5e29d3dacb3e2de009"><div class="ttname"><a href="network-mpi_8c.html#a2818efb70df48e5e29d3dacb3e2de009">tw_nnodes</a></div><div class="ttdeci">unsigned int tw_nnodes(void)</div><div class="ttdef"><b>Definition:</b> <a href="network-mpi_8c_source.html#l00103">network-mpi.c:103</a></div></div>
<div class="ttc" id="ross-kernel-inline_8h_html_a4066dfaca8faa4af256a377d85cea32f"><div class="ttname"><a href="ross-kernel-inline_8h.html#a4066dfaca8faa4af256a377d85cea32f">tw_getkp</a></div><div class="ttdeci">static tw_kp * tw_getkp(tw_kpid id)</div><div class="ttdef"><b>Definition:</b> <a href="ross-kernel-inline_8h_source.html#l00053">ross-kernel-inline.h:53</a></div></div>
<div class="ttc" id="ross_8h_html_a911515dff2fb79886a16ed44df5f9d20"><div class="ttname"><a href="ross_8h.html#a911515dff2fb79886a16ed44df5f9d20">tw_lpid</a></div><div class="ttdeci">uint64_t tw_lpid</div><div class="ttdef"><b>Definition:</b> <a href="ross_8h_source.html#l00160">ross.h:160</a></div></div>
<div class="ttc" id="structtw__lp_html_a8028662b2668953fa9f49f2df7d00850"><div class="ttname"><a href="structtw__lp.html#a8028662b2668953fa9f49f2df7d00850">tw_lp::kp</a></div><div class="ttdeci">tw_kp * kp</div><div class="ttdoc">kp – Kernel process that we belong to (must match pe). </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00313">ross-types.h:313</a></div></div>
<div class="ttc" id="st-instrumentation_8h_html"><div class="ttname"><a href="st-instrumentation_8h.html">st-instrumentation.h</a></div></div>
<div class="ttc" id="specialized-lps_8c_html_abaecb255233b735460c8b9836547041e"><div class="ttname"><a href="specialized-lps_8c.html#abaecb255233b735460c8b9836547041e">g_st_analysis_nlp</a></div><div class="ttdeci">tw_lpid g_st_analysis_nlp</div><div class="ttdef"><b>Definition:</b> <a href="specialized-lps_8c_source.html#l00012">specialized-lps.c:12</a></div></div>
<div class="ttc" id="structtw__kp_html"><div class="ttname"><a href="structtw__kp.html">tw_kp</a></div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00340">ross-types.h:340</a></div></div>
<div class="ttc" id="ross-extern_8h_html_a8b68252dffbb6e0a431b1967975fdb58"><div class="ttname"><a href="ross-extern_8h.html#a8b68252dffbb6e0a431b1967975fdb58">g_tw_custom_lp_global_to_local_map</a></div><div class="ttdeci">map_local_f g_tw_custom_lp_global_to_local_map</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00019">ross-global.c:19</a></div></div>
<div class="ttc" id="specialized-lps_8c_html_af684a7b76fde8ed0e32b8a155af94f92"><div class="ttname"><a href="specialized-lps_8c.html#af684a7b76fde8ed0e32b8a155af94f92">g_st_use_analysis_lps</a></div><div class="ttdeci">int g_st_use_analysis_lps</div><div class="ttdef"><b>Definition:</b> <a href="specialized-lps_8c_source.html#l00011">specialized-lps.c:11</a></div></div>
<div class="ttc" id="ross-kernel-inline_8h_html_a543cb527662432d81f65c327e5e5f1b0"><div class="ttname"><a href="ross-kernel-inline_8h.html#a543cb527662432d81f65c327e5e5f1b0">tw_now</a></div><div class="ttdeci">static tw_stime tw_now(tw_lp const *lp)</div><div class="ttdef"><b>Definition:</b> <a href="ross-kernel-inline_8h_source.html#l00080">ross-kernel-inline.h:80</a></div></div>
<div class="ttc" id="ross-extern_8h_html_aaa99d77ef4fabc6101a812df84e52be1"><div class="ttname"><a href="ross-extern_8h.html#aaa99d77ef4fabc6101a812df84e52be1">g_tw_mapping</a></div><div class="ttdeci">tw_lp_map g_tw_mapping</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00021">ross-global.c:21</a></div></div>
<div class="ttc" id="ross-extern_8h_html_a83ae3f8b8b94935a1dbdfa2d2552f508"><div class="ttname"><a href="ross-extern_8h.html#a83ae3f8b8b94935a1dbdfa2d2552f508">g_tw_mynode</a></div><div class="ttdeci">tw_peid g_tw_mynode</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00088">ross-global.c:88</a></div></div>
<div class="ttc" id="specialized-lps_8c_html_ae493796b4588551bf1178de65e3baa78"><div class="ttname"><a href="specialized-lps_8c.html#ae493796b4588551bf1178de65e3baa78">g_st_total_model_lps</a></div><div class="ttdeci">tw_lpid g_st_total_model_lps</div><div class="ttdef"><b>Definition:</b> <a href="specialized-lps_8c_source.html#l00016">specialized-lps.c:16</a></div></div>
<div class="ttc" id="ross-extern_8h_html_abb6067d27f1c3e888c1d276490f28088"><div class="ttname"><a href="ross-extern_8h.html#abb6067d27f1c3e888c1d276490f28088">g_tw_masternode</a></div><div class="ttdeci">tw_peid g_tw_masternode</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00089">ross-global.c:89</a></div></div>
<div class="ttc" id="ross-kernel-inline_8h_html_a01d028965db8257815ad2ed053a0e40a"><div class="ttname"><a href="ross-kernel-inline_8h.html#a01d028965db8257815ad2ed053a0e40a">tw_getlp</a></div><div class="ttdeci">static tw_lp * tw_getlp(tw_lpid id)</div><div class="ttdef"><b>Definition:</b> <a href="ross-kernel-inline_8h_source.html#l00041">ross-kernel-inline.h:41</a></div></div>
<div class="ttc" id="ross-kernel-inline_8h_html_ac8a7b5295fae3b169b7d16191cbb192c"><div class="ttname"><a href="ross-kernel-inline_8h.html#ac8a7b5295fae3b169b7d16191cbb192c">tw_getstate</a></div><div class="ttdeci">static void * tw_getstate(tw_lp *lp)</div><div class="ttdef"><b>Definition:</b> <a href="ross-kernel-inline_8h_source.html#l00074">ross-kernel-inline.h:74</a></div></div>
<div class="ttc" id="ross-types_8h_html_a1c8bf5a99e9de5022cdaa304f3979e57"><div class="ttname"><a href="ross-types_8h.html#a1c8bf5a99e9de5022cdaa304f3979e57">tw_kpid</a></div><div class="ttdeci">tw_peid tw_kpid</div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00045">ross-types.h:45</a></div></div>
<div class="ttc" id="structtw__lp_html_a34fb8e673f23705156b2473503e8a2d5"><div class="ttname"><a href="structtw__lp.html#a34fb8e673f23705156b2473503e8a2d5">tw_lp::cur_state</a></div><div class="ttdeci">void * cur_state</div><div class="ttdoc">Current application LP data. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00315">ross-types.h:315</a></div></div>
<div class="ttc" id="ross-extern_8h_html_a4a237c68db5a0325e986d3710088d427"><div class="ttname"><a href="ross-extern_8h.html#a4a237c68db5a0325e986d3710088d427">g_tw_nkp</a></div><div class="ttdeci">tw_kpid g_tw_nkp</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00025">ross-global.c:25</a></div></div>
<div class="ttc" id="ross-kernel-inline_8h_html_a3e5591d29e9db9c6a1a1cc19ed55feec"><div class="ttname"><a href="ross-kernel-inline_8h.html#a3e5591d29e9db9c6a1a1cc19ed55feec">tw_getlocal_lp</a></div><div class="ttdeci">static tw_lp * tw_getlocal_lp(tw_lpid gid)</div><div class="ttdef"><b>Definition:</b> <a href="ross-kernel-inline_8h_source.html#l00009">ross-kernel-inline.h:9</a></div></div>
<div class="ttc" id="structtw__kp_html_aabf1253aa1eb55c613a70fb3c9271117"><div class="ttname"><a href="structtw__kp.html#aabf1253aa1eb55c613a70fb3c9271117">tw_kp::last_time</a></div><div class="ttdeci">tw_stime last_time</div><div class="ttdoc">Time of the current event being processed. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00360">ross-types.h:360</a></div></div>
<div class="ttc" id="structtw__lp_html"><div class="ttname"><a href="structtw__lp.html">tw_lp</a></div><div class="ttdoc">LP State Structure. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00304">ross-types.h:304</a></div></div>
<div class="ttc" id="ross-extern_8h_html_a64132b3acc0476622c31d7dc1676d227"><div class="ttname"><a href="ross-extern_8h.html#a64132b3acc0476622c31d7dc1676d227">g_tw_kp</a></div><div class="ttdeci">tw_kp ** g_tw_kp</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00027">ross-global.c:27</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
